package P1线性结构;

public class TestArrayQueue {
    public static void main(String[] args) {
        ArrayQueue<Integer> queue = new ArrayQueue<>();
        System.out.println(queue);
        queue.offer(1);
        queue.offer(2);
        queue.offer(3);
        System.out.println(queue);
        System.out.println(queue.element());
        System.out.println(queue.poll());
        System.out.println(queue);
        System.out.println("====================");
    }
}
